{include file="public/header" /}
<style>
    table.imagetable {
        font-family: verdana,arial,sans-serif;
        font-size:20px;
        color:#333333;
        border-width: 1px;
        border-color: #999999;
        border-collapse: collapse;
    }
    table.imagetable th {
        background:#b5cfd2;
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #999999;
        width: 180px;
    }
    table.imagetable td {
        background:#dcddc0;
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #999999;
    }
    .layui-form-item{
        margin-bottom: 5px
    }
    .layui-form-label{
        width: 172px;
    }
    .layui-input-block{
        margin-left: 180px
    }

</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>轮播详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">轮播名称：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.banner_name}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">图片：</label>
                            <div class="layui-input-block">
                                <div class="layui-upload-list img-circle">
                                    <img class="layui-append-img" src="{$data.banner_image}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">轮播状态：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$data.banner_status == 1 ? '上架中' : '已下架'}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">轮播详情_英文：</label>
                            <div class="layui-input-block" id="LAY_editor_en" lay-verify="editor">
                                <p>{$data.banner_detail_en}</p>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">轮播详情_西班牙：</label>
                            <div class="layui-input-block" id="LAY_editor_es" lay-verify="editor">
                                <p>{$data.banner_detail_es}</p>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">轮播详情_葡萄牙：</label>
                            <div class="layui-input-block" id="LAY_editor_tp" lay-verify="editor">
                                <p>{$data.banner_detail_tp}</p>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}
<script>
    var editor_en = wk.wang({elem:'#LAY_editor_en'});
    var editor_es = wk.wang({elem:'#LAY_editor_es'});
    var editor_tp = wk.wang({elem:'#LAY_editor_tp'});
</script>
</body>
</html>